]> dgit.raspbian.org Git - gnome-shell.git/commit
scroll-view-fade: Do the offset math in the shader
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 28 Nov 2012 21:51:42 +0000 (16:51 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 29 Nov 2012 21:17:09 +0000 (16:17 -0500)
commit5c439f4e9ca040dc16899e50a3cb3b6172cb9b83
tree2b1369a2d34e1d55316a0bde4fbdd55f1f499dd9
parentc84236ed73fe71f477e09df18eefb986ecd07b14
scroll-view-fade: Do the offset math in the shader

This doesn't (or shouldn't) change the visual appearance of the fade
effect, but does do all the testing math inside the shader, rather
than on the CPU. This will make fading the offset much easier in
the future.

https://bugzilla.gnome.org/show_bug.cgi?id=689249
src/st/st-scroll-view-fade.c
src/st/st-scroll-view-fade.glsl